package com.doubao.utils;

public class RedisKeyUtil {
    private static final String PREFIX = "doubao:";

    public static String getChatHistoryKey(Long deviceId) {
        return PREFIX + "chat:history:" + deviceId;
    }

    public static String getUserDeviceKey(Long userId) {
        return PREFIX + "user:device:" + userId;
    }

    public static String getDeviceCollectionKey(Long deviceId) {
        return PREFIX + "device:collection:" + deviceId;
    }
}